﻿namespace BM.Tools.WebControls.MForm.BlogExample
{
    using System;

    /// <summary>
    /// This class serves as a base class for user provided data.
    /// </summary>
    public abstract class DataEntry
    {
        /// <summary>
        /// Gets or sets the author of the entry.
        /// </summary>
        public string Author
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the date of the entry.
        /// </summary>
        public DateTime Date
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the title of the entry.
        /// </summary>
        public string Title
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the text of the entry.
        /// </summary>
        public string Text
        {
            get;
            set;
        }
    }
}
